package com.tuozixuan.repository;

import java.util.List;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import com.tuozixuan.entity.Employee;

public interface EmployeeRepository extends ElasticsearchRepository<Employee, Long> {

	List<Employee> findByFirstName(String firstName);
	
    List<Employee> findByLastName(String lastName);
}
